﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:VAdvantage.Localization"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" 
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="VAdvantage.Framework.VLogin"
    mc:Ignorable="d"
    d:DesignHeight="623" d:DesignWidth="938" Loaded="UserControl_Loaded"
    xmlns:controls="clr-namespace:VAdvantage.Controls">
    
    <UserControl.Resources>


        <Style  TargetType="Button">
            <Setter Property="Background" Value="#FF1F3B53"/>
            <Setter Property="Foreground" Value="#FF000000"/>
            <Setter Property="Padding" Value="3"/>
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="BorderBrush">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFA3AEB9" Offset="0"/>
                        <GradientStop Color="#FF8399A9" Offset="0.375"/>
                        <GradientStop Color="#FF718597" Offset="0.375"/>
                        <GradientStop Color="#FF617584" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid>
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <ColorAnimation Duration="0" To="#FF73CBED" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="Background" d:IsOptimized="True"/>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <ColorAnimation Duration="0" To="#FF6BB8D6" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="Background" d:IsOptimized="True"/>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <DoubleAnimation Duration="0" To="0.55" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                                <VisualStateGroup x:Name="FocusStates">
                                    <VisualState x:Name="Focused"/>
                                    <VisualState x:Name="Unfocused"/>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border x:Name="Background" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="15" BorderBrush="#FFBDD2D7" Margin="1">
                                <Border.Background>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFD6F3FF" Offset="0"/>
                                        <GradientStop Color="#FF7CD5F8" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                                <Grid>
                                    <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                </Grid>
                            </Border>
                            <!--<Rectangle x:Name="rectangle" Fill="#FFF4F4F5" Stroke="{x:Null}" Opacity="0"/>-->
                            <Rectangle x:Name="rectangle" Fill="#FFF4F4F5"  Opacity="0" RadiusX="20" RadiusY="20"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        
        <Style TargetType="TextBlock">
            <Setter Property="Foreground" Value="Black"></Setter>
            <Setter Property="VerticalAlignment"  Value="Center"></Setter>

        </Style>
        
    </UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">


        <Grid  MouseLeftButtonDown="Grid_MouseLeftButtonDown">
            <!--<Grid.Effe  ct>
                <BlurEffect Radius="10"/>
            </Grid.Effect>-->
        </Grid>

        <Canvas x:Name="mainContainer"  SizeChanged="mainContainer_SizeChanged">

            <!--<Canvas.Background> 
            <ImageBrush ImageSource="/VAdvantage;component/Images/desktop.jpg" />
        </Canvas.Background>-->
            <Canvas x:Name="loginOuterBox" Height="314" Canvas.Left="184" Canvas.Top="81" Width="414">
                <Grid>
                    <Border BorderThickness="8" Height="314" Width="414" CornerRadius="5" Opacity="0.6">
                        <Border.BorderBrush>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF51BBDA" Offset="1"/>
                                <GradientStop Color="#FF51BBDA"/>
                                <GradientStop Color="#FF75C0D6" Offset="0.04"/>
                                <GradientStop Color="#FF75C0D6" Offset="0.96"/>
                            </LinearGradientBrush>
                        </Border.BorderBrush>
                    </Border>
                    <Grid Margin="7" Background="White">
                        <Image HorizontalAlignment="Stretch" Width="400" Stretch="Fill"  VerticalAlignment="Top"  Margin="0"  Source="../Images/header.png"></Image>
                    </Grid>


                    <Canvas x:Name="loginContainer" Canvas.Left="7" Canvas.Top="7" Margin="7" >
                        <Canvas x:Name="firstLevelCanvas" Height="293" Canvas.Left="7" Canvas.Top="7" Width="393">
                            <Grid x:Name="loginOuterGrid" Height="277" Canvas.Left="8" Canvas.Top="8" Width="377">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="0.182*"/>
                                    <RowDefinition Height="0.818*"/>
                                </Grid.RowDefinitions>
                                <Grid x:Name="loginControlGrid" Margin="8,-10,10,0" Grid.Row="1"  VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="0"/>
                                        <ColumnDefinition Width="0.71*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="0.14*"/>
                                        <RowDefinition Height="0.172*"/>
                                        <RowDefinition Height="0.172*"/>
                                        <RowDefinition Height="0.172*"/>
                                        <RowDefinition Height="0.176*"/>
                                        <RowDefinition Height="0.168*"/>

                                    </Grid.RowDefinitions>
                                    <Grid Grid.Column="1" Grid.Row="1" Height="35">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/user_name.png"/>
                                                <TextBox x:Name="txtUserName" VerticalAlignment="Center"   Text="SuperUser" TextWrapping="Wrap" BorderThickness="0" Margin="30,0,0,0"/>
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <Grid Grid.Column="1" Grid.Row="2" Height="35">

                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0"/>
                                        <Border Grid.ColumnSpan="2" Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/password.png"/>
                                                <PasswordBox x:Name="txtPassword" VerticalAlignment="Center"   Password="System" BorderThickness="0" Margin="30,0,0,0"/>
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <Grid Grid.Column="1" Grid.Row="3" Height="35">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Grid.ColumnSpan="2" Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/language.png"/>
                                                <ComboBox x:Name="cmbLanguages" IsEnabled="True" MaxDropDownHeight="145" SelectionChanged="cmbLanguages_SelectionChanged" BorderBrush="{x:Null}" d:LayoutOverrides="GridBox" Margin="30,0,0,0" BorderThickness="0" Background="White" />
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <TextBlock x:Name="lblUserName" Grid.Row="1" TextWrapping="Wrap" Text="UserName" Foreground="#FFFDFDFD" Margin="16,14,0,13" d:LayoutOverrides="Height"/>
                                    <TextBlock x:Name="lblPassword" Margin="16,10,0,17" Grid.Row="2" TextWrapping="Wrap" Text="Password" Foreground="#FFFDFDFD" d:LayoutOverrides="Height"/>
                                    <TextBlock x:Name="lblLanguage" Margin="16,6,0,0" Grid.Row="3" TextWrapping="Wrap" Text="Language" RenderTransformOrigin="0.5,0.5" Foreground="#FFFDFDFD" VerticalAlignment="Top"/>
                                    <TextBlock x:Name="lblMessage" TextWrapping="Wrap" Foreground="DarkGray" FontWeight="Bold" TextAlignment="Center" Grid.ColumnSpan="2" Margin="16,16,24,8" Grid.Row="4" d:LayoutOverrides="GridBox"/>
                                    <Button x:Name="btnLogin" Content="Login" Click="btnLogin_Click" MinWidth="70" Height="32" Visibility="Visible" Grid.Column="1" HorizontalAlignment="Right" Margin="0,0,1,5" Grid.Row="5" RenderTransformOrigin="0.866,0.536" />
                                </Grid>
                                <Image Source="../Images/LoginLogo.png" Height="34" Width="155"  HorizontalAlignment="Left" VerticalAlignment="Top"  />
  
                            </Grid>
                        </Canvas>
                    </Canvas>

                    <Canvas x:Name="DefaultTab"  d:IsHidden="True" Canvas.Left="7" Canvas.Top="7" Margin="7">
                        <Canvas x:Name="firstLevelCanvas1" Height="293" Canvas.Left="7" Canvas.Top="7" Width="393">
                            <Grid x:Name="loginOuterGrid1" Height="277" Canvas.Left="8" Canvas.Top="8" Width="377">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="0.182*"/>
                                    <RowDefinition Height="0.818*"/>
                                </Grid.RowDefinitions>
                                <Grid x:Name="loginControlGrid1" Margin="8,7,10,0" Grid.Row="1">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="20"/>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="35"/>
                                        <RowDefinition Height="35"/>
                                        <RowDefinition Height="35"/>
                                        <RowDefinition Height="35"/>
                                        <RowDefinition Height="35"/>
                                        <RowDefinition Height="*"/>

                                    </Grid.RowDefinitions>

                                    <Grid Grid.Column="2" Grid.Row="3" Height="30">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/warehouse.png"/>
                                                <ComboBox x:Name="cmbWarehouse"  MaxDropDownHeight="145" BorderBrush="{x:Null}" SelectionChanged="cmbWarehouse_SelectionChanged"  IsEnabled="True" DataContext="{Binding}" IsTabStop="True" Margin="30,0,0,0" Background="White" BorderThickness="0" />
                                            </Grid>
                                        </Border>
                                    </Grid>


                                    <TextBlock x:Name="lblOrg"  Grid.Row="2" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Org, Source={StaticResource ResourceWrapper}}"  d:LayoutOverrides="Height" />
                                    <TextBlock x:Name="lblWarehouse"  Grid.Row="3" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Warehouse, Source={StaticResource ResourceWrapper}}" RenderTransformOrigin="0.5,0.5"  d:LayoutOverrides="Height"/>
                                    <Grid Grid.Column="2"  Height="30">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/role.png"/>
                                                <ComboBox x:Name="cmbRole"  SelectionChanged="cmbRole_SelectionChanged" Margin="30,0,0,0" Background="White" BorderThickness="0" BorderBrush="{x:Null}" />
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <Grid Grid.Column="2" Grid.Row="1" Height="30">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/client.png"/>
                                                <ComboBox x:Name="cmbClient" SelectionChanged="cmbClient_SelectionChanged" BorderThickness="0" Margin="30,0,0,0" BorderBrush="{x:Null}" Background="White" />
                                            </Grid>
                                        </Border>
                                    </Grid>

                                    <Grid Grid.Column="2" Grid.Row="2" Height="30">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/organization.png"/>
                                                <ComboBox x:Name="cmbOrg"  SelectionChanged="cmbOrg_SelectionChanged" BorderBrush="{x:Null}" Background="White" BorderThickness="0" Margin="30,0,0,0" />
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <Grid Grid.Column="2" Grid.Row="4" Height="30">
                                        <Rectangle Fill="#FFD2F1FA" Margin="0" StrokeThickness="0" Grid.ColumnSpan="2"/>
                                        <Border Margin="3" Background="White">
                                            <Grid>
                                                <Image HorizontalAlignment="Left" Margin="2,0,0,2" Source="../Images/date.png"/>
                                                <sdk:DatePicker x:Name="dtDate" Margin="30,0,0,0" BorderThickness="0"/>
                                            </Grid>
                                        </Border>
                                    </Grid>
                                    <TextBlock x:Name="lblDate" Grid.Row="4" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Date, Source={StaticResource ResourceWrapper}}" />
                                    <TextBlock HorizontalAlignment="Left" x:Name="lblRole"  Text="{Binding ApplicationStrings.Role, Source={StaticResource ResourceWrapper}}"  Grid.ColumnSpan="2" />
                                    <TextBlock Grid.Row="1" HorizontalAlignment="Left"  x:Name="lblClient" Text="{Binding ApplicationStrings.Client, Source={StaticResource ResourceWrapper}}"   />
                                    <TextBlock x:Name="lblMessage2" TextWrapping="Wrap" Margin="10,0,150,0" Foreground="DarkGray" FontWeight="Bold" TextAlignment="Center" Grid.ColumnSpan="3" Grid.Column="0"  Grid.Row="5" d:LayoutOverrides="GridBox"/>

                                    <StackPanel Grid.Column="2" Grid.Row="5" Orientation="Horizontal"  HorizontalAlignment="Right">
                                        <Button Content="Button" Margin="0,0,1,5" HorizontalAlignment="Right" MinWidth="70" Height="32" VerticalAlignment="Bottom"  x:Name="btnLoginBack" Click="btnLoginBack_Click" />
                                        <Button Content="Button" Margin="0,0,1,5" HorizontalAlignment="Right" MinWidth="70" Height="32" VerticalAlignment="Bottom"  x:Name="btnLoginNext" Click="btnLoginNext_Click" />
                                    </StackPanel>
                                    
                                </Grid>

                                <Image Source="../Images/LoginLogo.png" Height="34" Width="155" HorizontalAlignment="Left" VerticalAlignment="Top"  />
                            </Grid>
                        </Canvas>
                    </Canvas>
                </Grid>
            </Canvas>
            <toolkit:BusyIndicator x:Name="BusyWindow" Height="61" Canvas.Left="320" Canvas.Top="464" Width="153" IsBusy="False" IsEnabled="True" BusyContent="Please Wait..." Style="{StaticResource RoundBusyIndicator}" />
        </Canvas>
    </Grid>
    <!--<Grid>
    
        <Grid Background="White" Opacity=".3" > </Grid>
        
    <Canvas x:Name="mainContainer"  SizeChanged="mainContainer_SizeChanged">
        
        <Canvas.Background> 
            <ImageBrush ImageSource="/VAdvantage;component/Images/desktop.jpg" />
        </Canvas.Background>
    	<Canvas x:Name="loginOuterBox" Height="336" Canvas.Left="104" Canvas.Top="80" Width="567">
    		<Canvas x:Name="loginContainer" Height="336" Width="567">
    			<Rectangle Fill="Black" x:Name="blackRect" Height="336" Stroke="Black" Width="568" RadiusX="17" RadiusY="17" Opacity="0.7"/>
    			<Canvas x:Name="firstLevelCanvas" Height="327" Canvas.Left="10" Canvas.Top="9" Width="551">
    				<Grid x:Name="loginOuterGrid" Height="311" Canvas.Left="8" Canvas.Top="8" Width="536">
    					<Grid.RowDefinitions>
    						<RowDefinition Height="0.182*"/>
    						<RowDefinition Height="0.818*"/>
    					</Grid.RowDefinitions>
    					<Grid x:Name="loginControlGrid" Margin="8,-10,10,0" Grid.Row="1" Height="250" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
    						<Grid.ColumnDefinitions>
    							<ColumnDefinition Width="0.29*"/>
    							<ColumnDefinition Width="0.71*"/>
    						</Grid.ColumnDefinitions>
    						<Grid.RowDefinitions>
    							<RowDefinition Height="0.14*"/>
    							<RowDefinition Height="0.172*"/>
    							<RowDefinition Height="0.172*"/>
    							<RowDefinition Height="0.172*"/>
    							<RowDefinition Height="0.176*"/>
    							<RowDefinition Height="0.168*"/>

    						</Grid.RowDefinitions>
    						<TextBox x:Name="txtUserName" Grid.Column="1" Margin="8,8,24,10" Grid.Row="1" Text="SuperUser" TextWrapping="Wrap" Height="25"/>
    						<PasswordBox x:Name="txtPassword" Grid.Column="1" Margin="8,7,24,11" Password="System" Grid.Row="2" Height="25"/>
    						<ComboBox x:Name="cmbLanguages" MaxDropDownHeight="145" Grid.Column="1" Margin="8,4,24,0" Grid.Row="3" Height="25" SelectionChanged="cmbLanguages_SelectionChanged" VerticalAlignment="Top" d:LayoutOverrides="Height" />
    						<TextBlock x:Name="lblUserName" Grid.Row="1" TextWrapping="Wrap" Text="UserName" Foreground="#FFFDFDFD" Margin="16,14,0,13" d:LayoutOverrides="Height"/>
    						<TextBlock x:Name="lblPassword" Margin="16,10,0,17" Grid.Row="2" TextWrapping="Wrap" Text="Password" Foreground="#FFFDFDFD" d:LayoutOverrides="Height"/>
    						<TextBlock x:Name="lblLanguage" Margin="16,6,0,0" Grid.Row="3" TextWrapping="Wrap" Text="Language" RenderTransformOrigin="0.5,0.5" Foreground="#FFFDFDFD" VerticalAlignment="Top"/>
    						<TextBlock x:Name="lblMessage" TextWrapping="Wrap" Foreground="#FFFFDE00" FontWeight="Bold" TextAlignment="Center" Grid.ColumnSpan="2" Margin="16,16,24,8" Grid.Row="4" d:LayoutOverrides="GridBox"/>
    						<Button x:Name="btnLogin" Content="Login" Click="btnLogin_Click" Width="97" Visibility="Visible" Grid.Column="1" HorizontalAlignment="Right" Margin="0,4,25,8" Grid.Row="5" />
    					</Grid>
    					<TextBlock x:Name="lblHeader" Margin="8,12,10,0" TextWrapping="Wrap" FontWeight="Bold" FontSize="18.667" Foreground="White" Height="29" VerticalAlignment="Top"><Run Text="Vienna Login"/><LineBreak/><Run/></TextBlock>
    				</Grid>
    			</Canvas>
    		</Canvas>
    		<Canvas x:Name="DefaultTab" Height="336" Width="567" d:IsHidden="True">
    			<Rectangle Fill="Black" x:Name="blackRect1" Height="336" Stroke="Black" Width="568" RadiusX="17" RadiusY="17" Opacity="0.7"/>
    			<Canvas x:Name="firstLevelCanvas1" Height="319" Canvas.Left="10" Canvas.Top="9" Width="551">
    				<Grid x:Name="loginOuterGrid1" Height="303" Canvas.Left="8" Canvas.Top="8" Width="536">
    					<Grid.RowDefinitions>
    						<RowDefinition Height="0.182*"/>
    						<RowDefinition Height="0.818*"/>
    					</Grid.RowDefinitions>
    					<Grid x:Name="loginControlGrid1" Margin="8,-4,10,0" Grid.Row="1" Height="244" VerticalAlignment="Top">
    						<Grid.ColumnDefinitions>
    							<ColumnDefinition Width="0.29*"/>
    							<ColumnDefinition Width="0.71*"/>
    						</Grid.ColumnDefinitions>
    						<Grid.RowDefinitions>
    							<RowDefinition Height="0.148*"/>
    							<RowDefinition Height="0.131*"/>
    							<RowDefinition Height="0.197*"/>
    							<RowDefinition Height="0.131*"/>
    							<RowDefinition Height="0.164*"/>
    							<RowDefinition Height="0.23*"/>

    						</Grid.RowDefinitions>
    						<ComboBox x:Name="cmbWarehouse"  MaxDropDownHeight="145" Grid.Column="1" Margin="8,4,24,0" Grid.Row="3" Height="25" SelectionChanged="cmbWarehouse_SelectionChanged" VerticalAlignment="Top" IsEnabled="True" DataContext="{Binding}" IsTabStop="True" />
    						<TextBlock x:Name="lblOrg" Margin="17,15,-1,17" Grid.Row="2" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Org, Source={StaticResource ResourceWrapper}}" Foreground="#FFFDFDFD" d:LayoutOverrides="Height" />
    						<TextBlock x:Name="lblWarehouse" Margin="16,8,0,8" Grid.Row="3" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Warehouse, Source={StaticResource ResourceWrapper}}" RenderTransformOrigin="0.5,0.5" Foreground="#FFFDFDFD" d:LayoutOverrides="Height"/>
    						<ComboBox x:Name="cmbRole" Grid.Column="1" Margin="8,0,24,11" Height="25" SelectionChanged="cmbRole_SelectionChanged" />
    						<ComboBox x:Name="cmbClient" Grid.Column="1" Margin="8,4,24,0" Grid.Row="1" Height="25" SelectionChanged="cmbClient_SelectionChanged" VerticalAlignment="Top" />
    						<ComboBox x:Name="cmbOrg" Grid.Column="1" Margin="8,13,24,0" Grid.Row="2" SelectionChanged="cmbOrg_SelectionChanged" Height="25" VerticalAlignment="Top" />
    						<sdk:DatePicker x:Name="dtDate" Grid.Column="1" Margin="9,12,23,0" Grid.Row="4" Height="25" VerticalAlignment="Top"/>
    						<TextBlock x:Name="lblDate" Margin="16,12,0,7" Grid.Row="4" TextWrapping="Wrap" Text="{Binding ApplicationStrings.Date, Source={StaticResource ResourceWrapper}}" Foreground="#FFFDFDFD" />
    						<TextBlock Height="14" HorizontalAlignment="Left" Margin="17,6,0,16" x:Name="lblRole" Width="138" Text="{Binding ApplicationStrings.Role, Source={StaticResource ResourceWrapper}}" Foreground="#FFFDFDFD" VerticalAlignment="Center" Grid.ColumnSpan="2" />
    						<TextBlock Grid.Row="1" HorizontalAlignment="Left" Margin="17,8,0,5" x:Name="lblClient" Text="{Binding ApplicationStrings.Client, Source={StaticResource ResourceWrapper}}" Foreground="#FFFDFDFD" Width="133" />
                            <TextBlock x:Name="lblMessage2" TextWrapping="Wrap" Foreground="#FFFFDE00" FontWeight="Bold" TextAlignment="Center" Grid.ColumnSpan="1" Margin="10,16,135,8" Grid.Column="1"  Grid.Row="5" d:LayoutOverrides="GridBox"/>
    						<Button Content="Button" Grid.Column="1" Margin="0,0,26,8" Grid.Row="5" HorizontalAlignment="Right" Width="96" Height="26" VerticalAlignment="Bottom" x:Name="btnLoginNext" Click="btnLoginNext_Click" />
    					</Grid>
    					<TextBlock x:Name="lblDefaultHeader" Margin="8,12,10,8" TextWrapping="Wrap" FontWeight="Bold" FontSize="18.667" Foreground="White"><Run Text="Vienna Login"/><LineBreak/><Run/></TextBlock>
    				</Grid>
    			</Canvas>
    		</Canvas>
        </Canvas>
    	<toolkit:BusyIndicator x:Name="BusyWindow" Height="61" Canvas.Left="320" Canvas.Top="464" Width="153" IsBusy="False" IsEnabled="True" BusyContent="Please Wait..." />
    </Canvas>
    </Grid>-->
</UserControl>
